package com.lancoo.znbkxx.teacher.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.lancoo.znbkxx.teacher.model.data.StuProgressInfo
import kotlinx.android.synthetic.main.item_stu_progress.view.*


/**
 * @author : wealive
 * @date   : 2020/3/2 16:54
 * @desc   :
 */
class StuProgressAdapter(resId: Int, data: MutableList<StuProgressInfo>?) :
    BaseQuickAdapter<StuProgressInfo, BaseViewHolder>(resId, data) {
    override fun convert(helper: BaseViewHolder, item: StuProgressInfo?) {
        helper.itemView.tv.text = item?.StuName
    }
}